# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=py3-coveralls
pkgver=3.3.1
pkgrel=1
pkgdesc="Show coverage stats online via coveralls.io"
url="https://github.com/TheKevJames/coveralls-python"
arch="noarch"
license="MIT"
depends="py3-coverage py3-docopt py3-requests"
makedepends="py3-setuptools"
options="!check" #no testsuite
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/TheKevJames/coveralls-python/archive/$pkgver.tar.gz"
builddir="$srcdir"/coveralls-python-$pkgver

replaces=py-coveralls # Backwards compatibility
provides=py-coveralls=$pkgver-r$pkgrel # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
4ec4a2cd1d891df74d2c88b6e3275426589de76a0f77b161e2ea72f3204ad8b9f71e0b00d9e10e821cdd28ada083cd30deba1927db9b582e145d6cee7c706353  py3-coveralls-3.3.1.tar.gz
"
